<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget" xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:ajax="http://www.apusic.com/jsf/ajax"
	renderKitId="AJAX">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/css/kmp4.css" type="text/css"></w:stylesheet>
		<w:script src="/javascript/k4.js" type="text/javascript" language="UTF-8"></w:script>
	</w:head>
	<w:page title="commonView">
		<layout:panel border="false" autoHeight="true" autoWidth="true" header="false"
			styleClass="k4-view" autoScroll="true">
			<w:dataGrid id="onlineUserGrid" toolBarPosition="top" rows="100000" paged="true" var="ou"
				border="false" showRowNumber="true" styleClass="k4-view-datagrid" autoHeight="true">
				<w:outputColumn id="userName" header="用户登录名" sortable="true" width="80"></w:outputColumn>
				<w:outputColumn id="fullname" header="用户姓名" value="#{ou.userName}" sortable="true"
					converter="userFullnameFormatter" width="90"></w:outputColumn>
				<w:outputColumn id="loginTime" header="登录时间" sortable="true" converter="datetimeFormatter"
					width="130"></w:outputColumn>
				<w:outputColumn id="latestActTime" header="最后动作时间" sortable="true" converter="datetimeFormatter"
					width="130"></w:outputColumn>
				<w:outputColumn id="timeInterval" header="在线时间" converter="dataTimeConverter" width="100"></w:outputColumn>
				<w:outputColumn id="ipAddress" header="用户IP" sortable="true"></w:outputColumn>
				<w:outputColumn id="modules" header="访问模块" wrap="true" width="300" converter="modulesConverter"></w:outputColumn>
				<w:pagingToolbar displayInfo="true" displayMsg="显示 {0} - {1}，共 {2} 条" />
			</w:dataGrid>
		</layout:panel>
	</w:page>
</f:view>